<?php
declare(strict_types=1);

namespace App\Resource\Dynamic\Media;


use Illuminate\Http\Resources\Json\JsonResource;

class Resource extends JsonResource
{
    public function toArray($request)
    {
        return [
            'id' => $this->id,
            'type' => $this->type,
            'url' => $this->url,
            'wide' => $this->wide,
            'high' => $this->high,
            'second' => $this->second,
            'size' => $this->size,
            'position' => $this->position,
        ];
    }
}